<template>
    <div class='_title'><span class='_arrow'></span><slot name='title'></slot></div>
</template>

<script>
export default {
    name : 'arrow-title'
}
</script>

<style scoped lang='scss'>
    ._title{
    font-size: 20px;
    color: #fff;
    padding-left: 34px;
    position: relative;
  }
  ._arrow{
    width: 20px;
    height: 17px;
    @include background('two-arrow.png');
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    top:50%;
    transform: translateY(-50%);
  }
</style>